import http from '@/common/service/service.js';

export default {
	pageOrder: function(params) {
		return http.get('/order/page', params);
	},
	purchaseOrder: function(data) {
		return http.post('/order/purchase', data);
	},
	getOrderInfo: function(params) {
		return http.get('/order/info', params);
	},
	removeOrder: function(params) {
		return http.get('/order/remove', params);
	},
	cancelOrder: function(params) {
		return http.get('/order/cancel', params);
	},
	payOrder: function(params) {
		return http.get('/payment/pay', params);
	},
	balancePayOrder: function(params) {
		return http.get('/payment/pay/native', params);
	},
	recharge: function(params) {
		return http.get('/payment/recharge', params);
	},
}
